fix(tests): use whitelisted smoke job in quantum integration test#464
Merged
Conversation
Update autorun status lookup test to use allowed job name 'smoke' instead of 'another', matching run_autorun_job validation. Co-authored-by: Bryan
Contributor
Reviewer's guide (collapsed on small PRs)Reviewer's GuideUpdates the quantum integration autorun status test to use a whitelisted File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
🟡 Coverage —
|
| Metric | Value |
|---|---|
| Total coverage | 65.2% |
→ vs main |
0.0% |
| Minimum threshold | 60% |
Updated on every push · 2026-06-20
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Author
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_5f1f0dd0-62cb-4910-8fc3-e86234592318) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Hourly repo health automation failed pre-commit validation because
test_run_autorun_job_reads_status_for_list_and_dict_shapescalledrun_autorun_job("another"), which is rejected by the autorun job whitelist. Updated the test to use the allowedsmokejob name so status lookup coverage matches production validation.Changes
anotherwithsmokein quantum integration autorun status lookup parametrized testjob_nameand statusnamefields accordinglyTesting
pytest tests/test_quantum_integration.py— 2 passedPYTHON_BIN=.venv/bin/python .venv/bin/python scripts/repo_health_automation.py --once --repair-status --refresh-stale-status --run-agents --continue-on-fail— all steps passed (2725 unit tests, integration contract gate, repo agents)Summary by Sourcery
Tests:
Note
Low Risk
Test-only rename with no production code changes; aligns tests with existing autorun job validation.
Overview
Updates the parametrized quantum integration test
test_run_autorun_job_reads_status_for_list_and_dict_shapesso it callsrun_autorun_job("smoke")instead of"another", matching the production autorun whitelist (baseline,benchmark,nightly,smoke).Fixtures and assertions for
job_nameand statusnameare aligned tosmoke; list/dictjobspayload shapes are unchanged.Reviewed by Cursor Bugbot for commit 3302651. Bugbot is set up for automated code reviews on this repo. Configure here.